package com.ll.admin.action;


import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
//产品管理
@Controller
@RequestMapping("pages/front/product/*")
public class ProductAction {
    //分类管理
    @RequiresPermissions("product:class")
    @RequestMapping("classList")
    public String classList() {
        return "front/product/class_list" ;
    }
    //产品图库管理
    @RequiresPermissions("product:gallery")
    @RequestMapping("picList")
    public String picList() {
        return "front/product/pic_list" ;
    }
    //产品组管理
    @RequiresPermissions("product:group")
    @RequestMapping("groupList")
    public String groupList() {
        return "front/product/group_list" ;
    }
    //产品管理
    @RequiresPermissions("product:product")
    @RequestMapping("productList")
    public String productList() {
        return "front/product/product_list" ;
    }
    //产品渠道库存管理
    @RequiresPermissions("product:stock")
    @RequestMapping("stockList")
    public String stockList() {
        return "front/product/stock_list" ;
    }
}
